//
//  PhotoCommentView.m
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/11/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import "PhotoCommentView.h"

@implementation PhotoCommentView
@synthesize authorImageView, authorNameLabel;
@synthesize commentLabel, numberCommentsLabel;

+ (id)viewFromNib {
    PhotoCommentView *view = nil;
    NSArray *nibs = [[NSBundle mainBundle] loadNibNamed:@"PhotoCommentView" owner:self options:nil];
    view = [nibs objectAtIndex:0];
    view.commentLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    view.numberCommentsLabel.textColor = [UIColor colorWithRed:107/255.0 green:120/255.0 blue:130/255.0 alpha:1.0];
    return view;
}

- (void)dealloc {
    self.authorImageView = nil;
    self.authorNameLabel = nil;
    self.commentLabel = nil;
    self.numberCommentsLabel = nil;
    [super dealloc];
}

@end
